<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>airline-res: AirlineRes::AirlineReservationSystem Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">airline-res
   
   </div>
   <div id="projectbrief">A prototype airline flight booking system</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>AirlineRes</b>      </li>
      <li class="navelem"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html">AirlineReservationSystem</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pri-types">Private Types</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a>  </div>
  <div class="headertitle">
<div class="title">AirlineRes::AirlineReservationSystem Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="AirlineRes::AirlineReservationSystem" --><div class="dynheader">
Collaboration diagram for AirlineRes::AirlineReservationSystem:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system__coll__graph.png" border="0" usemap="#_airline_res_1_1_airline_reservation_system_coll__map" alt="Collaboration graph"/></div>
<map name="_airline_res_1_1_airline_reservation_system_coll__map" id="_airline_res_1_1_airline_reservation_system_coll__map">
<area shape="rect" id="node2" href="class_airline_res_1_1_record_manager.html" title="{AirlineRes::RecordManager\&lt; CustomerRecord \&gt;\n|&#45; m_maxID\l&#45; m_records\l|+ RecordManager()\l+ ~RecordManager()\l+ LoadRecords()\l+ WriteRecords()\l+ PrintRecords()\l+ GetRecordSet()\l+ GetRecord()\l+ AddRecord()\l+ EditRecord()\l+ DeleteRecord()\l&#45; UpdateMaxID()\l}" alt="" coords="5,310,307,549"/><area shape="rect" id="node4" href="class_airline_res_1_1_record_manager.html" title="Class to store and manage all Records of a particular type, e.g. customer, flight." alt="" coords="482,6,755,245"/><area shape="rect" id="node6" href="class_airline_res_1_1_record_manager.html" title="{AirlineRes::RecordManager\&lt; UserRecord \&gt;\n|&#45; m_maxID\l&#45; m_records\l|+ RecordManager()\l+ ~RecordManager()\l+ LoadRecords()\l+ WriteRecords()\l+ PrintRecords()\l+ GetRecordSet()\l+ GetRecord()\l+ AddRecord()\l+ EditRecord()\l+ DeleteRecord()\l&#45; UpdateMaxID()\l}" alt="" coords="331,310,603,549"/><area shape="rect" id="node9" href="class_airline_res_1_1_record_manager.html" title="{AirlineRes::RecordManager\&lt; BookingRecord \&gt;\n|&#45; m_maxID\l&#45; m_records\l|+ RecordManager()\l+ ~RecordManager()\l+ LoadRecords()\l+ WriteRecords()\l+ PrintRecords()\l+ GetRecordSet()\l+ GetRecord()\l+ AddRecord()\l+ EditRecord()\l+ DeleteRecord()\l&#45; UpdateMaxID()\l}" alt="" coords="627,310,919,549"/><area shape="rect" id="node12" href="class_airline_res_1_1_record_manager.html" title="{AirlineRes::RecordManager\&lt; FlightRecord \&gt;\n|&#45; m_maxID\l&#45; m_records\l|+ RecordManager()\l+ ~RecordManager()\l+ LoadRecords()\l+ WriteRecords()\l+ PrintRecords()\l+ GetRecordSet()\l+ GetRecord()\l+ AddRecord()\l+ EditRecord()\l+ DeleteRecord()\l&#45; UpdateMaxID()\l}" alt="" coords="944,310,1221,549"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="class_airline_res_1_1_airline_reservation_system-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a56107efb9c95e6ca63db1e571c59171a"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::Init" ref="a56107efb9c95e6ca63db1e571c59171a" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a56107efb9c95e6ca63db1e571c59171a">Init</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Called to initialised the system. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab8580997fb87edb39121111709405685"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::Run" ref="ab8580997fb87edb39121111709405685" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#ab8580997fb87edb39121111709405685">Run</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Called to start the system, i.e. begin responding interactively to user input. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ace963e7380e7ee4508113a642c370d80"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::Shutdown" ref="ace963e7380e7ee4508113a642c370d80" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#ace963e7380e7ee4508113a642c370d80">Shutdown</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Called after the user has exited the system. <br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-types"></a>
Private Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a7b6ce984e55c425b36dfb3736203aa9b">InterfaceResult</a> { <br/>
&#160;&#160;<b>InterfaceResult_Success</b>, 
<b>InterfaceResult_Abort</b>, 
<b>InterfaceResult_Unknown</b>, 
<b>InterfaceResult_Logout</b>, 
<br/>
&#160;&#160;<b>InterfaceResult_NumResults</b>
<br/>
 }</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Represents a return result for an interface menu function. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>AdminSubMenuOption</b> { <br/>
&#160;&#160;<b>AdminSubMenuOption_Exit</b>, 
<b>AdminSubMenuOption_Add</b>, 
<b>AdminSubMenuOption_Edit</b>, 
<b>AdminSubMenuOption_Delete</b>, 
<br/>
&#160;&#160;<b>AdminSubMenuOption_NumOptions</b>, 
<b>AdminSubMenuOption_Unknown</b> =  -1
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a15f3954e59751228628431ee59d4d64f">GetOptionChoice</a> (std::string const &amp;_menuDesc)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#aedf7930f4c9155fe99c4d47c1a3a7dcf">GetYesNoChoice</a> (std::string const &amp;_prompt)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a3daabd202c543342741d68fce3356f38">ConfirmAction</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a026345372a4fd1a9cc7b9ffcee0aaf96"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetOptionChoiceWithoutPrintingMenu" ref="a026345372a4fd1a9cc7b9ffcee0aaf96" args="(std::string input)" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>GetOptionChoiceWithoutPrintingMenu</b> (std::string input)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a7b6ce984e55c425b36dfb3736203aa9b">InterfaceResult</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#aff0d51097f5005c495bb86647552af70">LoginScreen</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#af05b884c8e969c49253480fb316c56f2">UserCredentialsValid</a> (std::string const &amp;_username, std::string const &amp;_password)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9830a2c2096d899e8f5f691b61181cad"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::AdminMenu" ref="a9830a2c2096d899e8f5f691b61181cad" args="()" -->
<a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a7b6ce984e55c425b36dfb3736203aa9b">InterfaceResult</a>&#160;</td><td class="memItemRight" valign="bottom"><b>AdminMenu</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4136ffeb98eed7b0458efc8a92ff98ec"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::AdminCustomerMenu" ref="a4136ffeb98eed7b0458efc8a92ff98ec" args="(AdminSubMenuOption _option)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>AdminCustomerMenu</b> (AdminSubMenuOption _option)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a724d064e185191a0dd80833f587796d5"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::AdminFlightMenu" ref="a724d064e185191a0dd80833f587796d5" args="(AdminSubMenuOption _option)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>AdminFlightMenu</b> (AdminSubMenuOption _option)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1fc0a9c3958d567342e8b1aac57b7cf5"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::AdminBookingMenu" ref="a1fc0a9c3958d567342e8b1aac57b7cf5" args="(AdminSubMenuOption _option)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>AdminBookingMenu</b> (AdminSubMenuOption _option)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac0d4cc0bb2b70054eae407d14e29794b"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::AdminUserMenu" ref="ac0d4cc0bb2b70054eae407d14e29794b" args="(AdminSubMenuOption _option)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>AdminUserMenu</b> (AdminSubMenuOption _option)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aeacfaa17dbf062e0a3b3801f08e6cf76"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::AddUser" ref="aeacfaa17dbf062e0a3b3801f08e6cf76" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>AddUser</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a23bdc116124e268f6a3063417438e656"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserMenu" ref="a23bdc116124e268f6a3063417438e656" args="()" -->
<a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a7b6ce984e55c425b36dfb3736203aa9b">InterfaceResult</a>&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserMenu</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a53f4bb6d1fcc68782dbdee49445a971a"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserBookingProcedure" ref="a53f4bb6d1fcc68782dbdee49445a971a" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserBookingProcedure</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a131cf054d2047a6914bfadfc75e75ccf"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserCancellationMenu" ref="a131cf054d2047a6914bfadfc75e75ccf" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserCancellationMenu</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a527f98de97003a24ab5c935753208a8f"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserFlightEnquiryMenu" ref="a527f98de97003a24ab5c935753208a8f" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserFlightEnquiryMenu</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab49aaea854a66d28e6a81bfc0c50e111"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserPassengerEnquiryMenu" ref="ab49aaea854a66d28e6a81bfc0c50e111" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserPassengerEnquiryMenu</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7cb647d577ab9c32ca89e9a478448aa"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserPassengerEnquirySearch" ref="ab7cb647d577ab9c32ca89e9a478448aa" args="(int)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserPassengerEnquirySearch</b> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a404a7d7aa5b3362e2e5f598fbb32c741"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserPassengerEnquirySearchByBookingNumber" ref="a404a7d7aa5b3362e2e5f598fbb32c741" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserPassengerEnquirySearchByBookingNumber</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a873d5d275d77c97e413b1dffdd34082e"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserPassengerEnquirySearchByName" ref="a873d5d275d77c97e413b1dffdd34082e" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserPassengerEnquirySearchByName</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0f1601c0c910c3b95e4bf1a6a2f5762c"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserPassengerEnquiryCustomerSelectionList" ref="a0f1601c0c910c3b95e4bf1a6a2f5762c" args="(std::vector&lt; std::string &gt;)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserPassengerEnquiryCustomerSelectionList</b> (std::vector&lt; std::string &gt;)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a034fb4afede918247bb485b9b20b2ad2"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserPassengerEnquiryOutput" ref="a034fb4afede918247bb485b9b20b2ad2" args="(int, std::string, std::string)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserPassengerEnquiryOutput</b> (int, std::string, std::string)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a956f19c3e17638fff5d42b753c968aed"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserPassengerEnquiryOutputGetFlightCode" ref="a956f19c3e17638fff5d42b753c968aed" args="(int)" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserPassengerEnquiryOutputGetFlightCode</b> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a543487bbfa8ff3399080ae5db14b7dcb"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserPassengerEnquiryOutputGetFlightTimeDate" ref="a543487bbfa8ff3399080ae5db14b7dcb" args="(int)" -->
<a class="el" href="class_airline_res_1_1_time_date.html">TimeDate</a>&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserPassengerEnquiryOutputGetFlightTimeDate</b> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a038552d7d70919f056e75e7b8d75209c"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserPassengerEnquiryAsk" ref="a038552d7d70919f056e75e7b8d75209c" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserPassengerEnquiryAsk</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a30165484af5fe49f9886798b20377135"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetBookingClassString" ref="a30165484af5fe49f9886798b20377135" args="(int)" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>GetBookingClassString</b> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a202587f268ce15b4d2e8d887e7b8595f"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetBookingStatusString" ref="a202587f268ce15b4d2e8d887e7b8595f" args="(int)" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>GetBookingStatusString</b> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a87f18740cc98b449dc844bde35efd8ed"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserFlightEnquiryOutput" ref="a87f18740cc98b449dc844bde35efd8ed" args="(std::string)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserFlightEnquiryOutput</b> (std::string)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6481128dad562b7da4c8163eed29b443"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserFlightEnquirySearchByDestination" ref="a6481128dad562b7da4c8163eed29b443" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserFlightEnquirySearchByDestination</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a6235bd52ee6c2465c641de28b167047c">LogoutConfirmation</a> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a5810c1b2bf7f1939cf8835802d2b6715">ExitConfirmation</a> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaab4d34b87eeabb8db0ff8a57292e013"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::LaunchHelp" ref="aaab4d34b87eeabb8db0ff8a57292e013" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#aaab4d34b87eeabb8db0ff8a57292e013">LaunchHelp</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Displays the help document. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#ab9422567d23558be1e82b6a2f5dc59b8">CheckReturningToMainMenu</a> (int menu, std::string user_input)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1ae6f0c9356f7ac530c5b593a571892f"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserFlightEnquirySearch" ref="a1ae6f0c9356f7ac530c5b593a571892f" args="(int)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserFlightEnquirySearch</b> (int)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab2413c0f9ddf3a9a03f9f6d0ff2e3a6b"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserFlightEnquirySearchByFlightNumber" ref="ab2413c0f9ddf3a9a03f9f6d0ff2e3a6b" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserFlightEnquirySearchByFlightNumber</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a08ba2beddd99dc56eda336b62ac0980e"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::RegularUserFlightEnquiryAsk" ref="a08ba2beddd99dc56eda336b62ac0980e" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>RegularUserFlightEnquiryAsk</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a138faf0bb2b1bee6b842e5b255bb378f">IsYesNoChoiceValid</a> (std::string user_input)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a537e38eeab0a3419f8e8db98854ac74f">GetFlightIDChoice</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#ab2bf6ab1ad15a048aef40f9b6aa5af22">IsFlightIDValid</a> (int flight_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#adeef07d423fe6105415c74f55bff04db">GetBookingDestination</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::list&lt; <a class="el" href="class_airline_res_1_1_flight_record.html">FlightRecord</a> const * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a6c9a2ade00bac370e23cfa0bbb672deb">GetFlightShortList</a> (std::string destination)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a9e8b670c9323bc25f87aa1c10e396868">DisplayFlights</a> (std::list&lt; <a class="el" href="class_airline_res_1_1_flight_record.html">FlightRecord</a> const * &gt; const &amp;shortlist)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a5d8d5c68ad965174c51efa89ecfc6aa7">WantToBookAlternativeClass</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a72ea107328a78d7343c5aa74b6fd95bb">WantToBookReserve</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_airline_res_1_1_booking_record.html#ab2bcad9f0a7e100358943207d1773723">BookingRecord::BookingClass</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a87867c6a95ef62a40eb3ac7bf23501e9">SwitchBookingClass</a> (<a class="el" href="class_airline_res_1_1_booking_record.html#ab2bcad9f0a7e100358943207d1773723">BookingRecord::BookingClass</a> booking_class)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a7ee7657d437581faab9cf6f5c905f1b7">AlreadyRegistered</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a351ff329b6a1b44654a4d9c051d6676e">GetCustomerIDChoice</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a7908d22251782f8101763c13c5185afa">IsCustomerIDValid</a> (int customer_id)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#af6d570f5a081a25be88fe56def925ee4">GetCustomerSurname</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::list&lt; <a class="el" href="class_airline_res_1_1_customer_record.html">CustomerRecord</a> const * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a9ab02a986b44cc3ba0d704ad520b11fc">GetCustomerList</a> (std::string surname)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#adc474ab73996aa5df4e0f8604d09cf4a">DisplayCustomers</a> (std::list&lt; <a class="el" href="class_airline_res_1_1_customer_record.html">CustomerRecord</a> const * &gt; const &amp;shortlist)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a2921868982dc78a7dff1bc64c45aea0b">AddCustomerProcedure</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a645cbf3bfb874ff67a606ecea7286b19"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetCustomerFirstName" ref="a645cbf3bfb874ff67a606ecea7286b19" args="()" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>GetCustomerFirstName</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af1fc512250fa3b5d7375268a83b7e780"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetCustomerLastName" ref="af1fc512250fa3b5d7375268a83b7e780" args="()" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>GetCustomerLastName</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6fc9e8dd963a6e8ce29d70cb9a5c5272"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetCustomerPassportNumber" ref="a6fc9e8dd963a6e8ce29d70cb9a5c5272" args="()" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>GetCustomerPassportNumber</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac424f7f4264166be15cc6e666027ae42"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetCustomerDOB" ref="ac424f7f4264166be15cc6e666027ae42" args="()" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>GetCustomerDOB</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aaedd165d9e7768e14f590a5f0f208ad5"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetCustomerEmail" ref="aaedd165d9e7768e14f590a5f0f208ad5" args="()" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>GetCustomerEmail</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a949e88dd5b64a97f0f17e09f020faf03"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetCustomerPhoneNumber" ref="a949e88dd5b64a97f0f17e09f020faf03" args="()" -->
std::string&#160;</td><td class="memItemRight" valign="bottom"><b>GetCustomerPhoneNumber</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#ad8363d3a2927ddc8e6f287cfcbb5b3fc">AddBookingProcedure</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aca0f33a10e362408b06bfeca2e09b4f6"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetBookingFlightID" ref="aca0f33a10e362408b06bfeca2e09b4f6" args="()" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>GetBookingFlightID</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a238452d6a0e00470d54ac34d911f6c30"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetBookingCustomerID" ref="a238452d6a0e00470d54ac34d911f6c30" args="()" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>GetBookingCustomerID</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a31e712968ab28e4213504782e5e10afc"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetBookingStatus" ref="a31e712968ab28e4213504782e5e10afc" args="()" -->
<a class="el" href="class_airline_res_1_1_booking_record.html#a95a0709a37cc1af334071ca4f097fee0">BookingRecord::BookingStatus</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetBookingStatus</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab7257f683deda3e2ea6016c3b6ca4bbc"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetBookingClass" ref="ab7257f683deda3e2ea6016c3b6ca4bbc" args="()" -->
<a class="el" href="class_airline_res_1_1_booking_record.html#ab2bcad9f0a7e100358943207d1773723">BookingRecord::BookingClass</a>&#160;</td><td class="memItemRight" valign="bottom"><b>GetBookingClass</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a0e8e9d1d1247349e37c1e6081b856817">AddFlightProcedure</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#ac585cedd9497fe050623a632868f4c06">AddUserProcedure</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a46ed155cb4f40ef0a545464f8cd98ecd">IsSpace</a> (int flight_id, <a class="el" href="class_airline_res_1_1_booking_record.html#ab2bcad9f0a7e100358943207d1773723">BookingRecord::BookingClass</a> booking_class)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a507886378eae70d7b17fd1d1d766445e">ParseAdmin</a> (std::string admin_string)</td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7572f54f9159f7098206d32608dc3191"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::m_userIsAdmin" ref="a7572f54f9159f7098206d32608dc3191" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>m_userIsAdmin</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="affb4a86226130eeb5f151e5b7a7b1dee"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::m_flightRecords" ref="affb4a86226130eeb5f151e5b7a7b1dee" args="" -->
<a class="el" href="class_airline_res_1_1_record_manager.html">RecordManager</a>&lt; <a class="el" href="class_airline_res_1_1_flight_record.html">FlightRecord</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_flightRecords</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae4713587e61065058905b75f6926fdd8"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::m_bookingRecords" ref="ae4713587e61065058905b75f6926fdd8" args="" -->
<a class="el" href="class_airline_res_1_1_record_manager.html">RecordManager</a>&lt; <a class="el" href="class_airline_res_1_1_booking_record.html">BookingRecord</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_bookingRecords</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a16ac44bf12832acea55013a419ae1574"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::m_customerRecords" ref="a16ac44bf12832acea55013a419ae1574" args="" -->
<a class="el" href="class_airline_res_1_1_record_manager.html">RecordManager</a>&lt; <a class="el" href="class_airline_res_1_1_customer_record.html">CustomerRecord</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_customerRecords</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a52d7298e645a60aa8b51c6f31a2f5755"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::m_userRecords" ref="a52d7298e645a60aa8b51c6f31a2f5755" args="" -->
<a class="el" href="class_airline_res_1_1_record_manager.html">RecordManager</a>&lt; <a class="el" href="class_airline_res_1_1_user_record.html">UserRecord</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>m_userRecords</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad54f431963157b34d6902281c36893e2"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::c_filePathFlights" ref="ad54f431963157b34d6902281c36893e2" args="" -->
std::string const&#160;</td><td class="memItemRight" valign="bottom"><b>c_filePathFlights</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abc5001c5fa0d349958f3cae07ff9a348"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::c_filePathBooking" ref="abc5001c5fa0d349958f3cae07ff9a348" args="" -->
std::string const&#160;</td><td class="memItemRight" valign="bottom"><b>c_filePathBooking</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac108a1ff693018624a1871cab3c293e6"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::c_filePathCustomer" ref="ac108a1ff693018624a1871cab3c293e6" args="" -->
std::string const&#160;</td><td class="memItemRight" valign="bottom"><b>c_filePathCustomer</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae2d3d6ed005f3372f7e0f605b5771940"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::c_filePathUser" ref="ae2d3d6ed005f3372f7e0f605b5771940" args="" -->
std::string const&#160;</td><td class="memItemRight" valign="bottom"><b>c_filePathUser</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="_airline_reservation_system_8h_source.html#l00034">34</a> of file <a class="el" href="_airline_reservation_system_8h_source.html">AirlineReservationSystem.h</a>.</p>
</div><hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="ad8363d3a2927ddc8e6f287cfcbb5b3fc"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::AddBookingProcedure" ref="ad8363d3a2927ddc8e6f287cfcbb5b3fc" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AirlineRes::AirlineReservationSystem::AddBookingProcedure </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds a boooking to the Booking Set by prompting the user for booking details, validating thier format and then storing the information. </p>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01475">1475</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_record_manager_8inl_source.html#l00089">AirlineRes::RecordManager&lt; RecordType &gt;::AddRecord()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_ad8363d3a2927ddc8e6f287cfcbb5b3fc_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_ad8363d3a2927ddc8e6f287cfcbb5b3fc_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_ad8363d3a2927ddc8e6f287cfcbb5b3fc_cgraph" id="class_airline_res_1_1_airline_reservation_system_ad8363d3a2927ddc8e6f287cfcbb5b3fc_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_record_manager.html#ac857f3dd39b92e73eaa9a40e8b7019f5" title="AirlineRes::RecordManager::AddRecord" alt="" coords="430,5,682,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a2921868982dc78a7dff1bc64c45aea0b"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::AddCustomerProcedure" ref="a2921868982dc78a7dff1bc64c45aea0b" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AirlineRes::AirlineReservationSystem::AddCustomerProcedure </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds a customer to the Customer Set by prompting the user for customer details, validating thier format and then storing the information.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>The customer ID of the new customer which has been added. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01422">1422</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_record_manager_8inl_source.html#l00089">AirlineRes::RecordManager&lt; RecordType &gt;::AddRecord()</a>, and <a class="el" href="_record_manager_8h_source.html#l00055">AirlineRes::RecordManager&lt; RecordType &gt;::GetRecordSet()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a2921868982dc78a7dff1bc64c45aea0b_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a2921868982dc78a7dff1bc64c45aea0b_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a2921868982dc78a7dff1bc64c45aea0b_cgraph" id="class_airline_res_1_1_airline_reservation_system_a2921868982dc78a7dff1bc64c45aea0b_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_record_manager.html#ac857f3dd39b92e73eaa9a40e8b7019f5" title="AirlineRes::RecordManager::AddRecord" alt="" coords="447,5,699,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_record_manager.html#a5d8cc3cfcef3d721edc45f18d31ae68a" title="AirlineRes::RecordManager::GetRecordSet" alt="" coords="438,56,709,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a0e8e9d1d1247349e37c1e6081b856817"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::AddFlightProcedure" ref="a0e8e9d1d1247349e37c1e6081b856817" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AirlineRes::AirlineReservationSystem::AddFlightProcedure </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds a flight to the Flight Set by prompting the user for flight details, validating thier format and then storing the information. </p>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01589">1589</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_record_manager_8inl_source.html#l00089">AirlineRes::RecordManager&lt; RecordType &gt;::AddRecord()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a0e8e9d1d1247349e37c1e6081b856817_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a0e8e9d1d1247349e37c1e6081b856817_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a0e8e9d1d1247349e37c1e6081b856817_cgraph" id="class_airline_res_1_1_airline_reservation_system_a0e8e9d1d1247349e37c1e6081b856817_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_record_manager.html#ac857f3dd39b92e73eaa9a40e8b7019f5" title="AirlineRes::RecordManager::AddRecord" alt="" coords="414,5,666,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ac585cedd9497fe050623a632868f4c06"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::AddUserProcedure" ref="ac585cedd9497fe050623a632868f4c06" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AirlineRes::AirlineReservationSystem::AddUserProcedure </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adds a user to the User Set by prompting the user for user details, validating thier format and then storing the information. </p>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01656">1656</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_record_manager_8inl_source.html#l00089">AirlineRes::RecordManager&lt; RecordType &gt;::AddRecord()</a>, and <a class="el" href="_airline_reservation_system_8cpp_source.html#l01689">ParseAdmin()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_ac585cedd9497fe050623a632868f4c06_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_ac585cedd9497fe050623a632868f4c06_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_ac585cedd9497fe050623a632868f4c06_cgraph" id="class_airline_res_1_1_airline_reservation_system_ac585cedd9497fe050623a632868f4c06_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_record_manager.html#ac857f3dd39b92e73eaa9a40e8b7019f5" title="AirlineRes::RecordManager::AddRecord" alt="" coords="441,5,693,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_airline_reservation_system.html#a507886378eae70d7b17fd1d1d766445e" title="AirlineRes::AirlineReservationSystem::ParseAdmin" alt="" coords="409,56,725,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7ee7657d437581faab9cf6f5c905f1b7"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::AlreadyRegistered" ref="a7ee7657d437581faab9cf6f5c905f1b7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool AirlineRes::AirlineReservationSystem::AlreadyRegistered </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prompts the user to input a value for whether or not they have already registered as a customer. Includes validation on the Y/N input using the ValidateYesNoInput() function.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A boolean value: true if the customer has already registered, else false. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l02100">2100</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_airline_reservation_system_8cpp_source.html#l01371">CheckReturningToMainMenu()</a>, and <a class="el" href="_airline_reservation_system_8cpp_source.html#l01893">IsYesNoChoiceValid()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a7ee7657d437581faab9cf6f5c905f1b7_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a7ee7657d437581faab9cf6f5c905f1b7_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a7ee7657d437581faab9cf6f5c905f1b7_cgraph" id="class_airline_res_1_1_airline_reservation_system_a7ee7657d437581faab9cf6f5c905f1b7_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#ab9422567d23558be1e82b6a2f5dc59b8" title="AirlineRes::AirlineReservationSystem::CheckReturningToMainMenu" alt="" coords="405,5,816,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_airline_reservation_system.html#a138faf0bb2b1bee6b842e5b255bb378f" title="AirlineRes::AirlineReservationSystem::IsYesNoChoiceValid" alt="" coords="429,56,792,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab9422567d23558be1e82b6a2f5dc59b8"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::CheckReturningToMainMenu" ref="ab9422567d23558be1e82b6a2f5dc59b8" args="(int menu, std::string user_input)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AirlineRes::AirlineReservationSystem::CheckReturningToMainMenu </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>menu</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>user_input</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check if the the string passed to the function is the command for returning the user back to main menu.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">menu</td><td>The main menu of the user: ADMIN_USER_MENU or REGULAR_USER_MENU </td></tr>
    <tr><td class="paramname">user_input</td><td>The user input. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01371">1371</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>Referenced by <a class="el" href="_airline_reservation_system_8cpp_source.html#l02100">AlreadyRegistered()</a>, <a class="el" href="_airline_reservation_system_8cpp_source.html#l01865">GetBookingDestination()</a>, <a class="el" href="_airline_reservation_system_8cpp_source.html#l02130">GetCustomerIDChoice()</a>, <a class="el" href="_airline_reservation_system_8cpp_source.html#l01939">GetFlightIDChoice()</a>, <a class="el" href="_airline_reservation_system_8cpp_source.html#l02007">WantToBookAlternativeClass()</a>, and <a class="el" href="_airline_reservation_system_8cpp_source.html#l02036">WantToBookReserve()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_ab9422567d23558be1e82b6a2f5dc59b8_icgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_ab9422567d23558be1e82b6a2f5dc59b8_icgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_ab9422567d23558be1e82b6a2f5dc59b8_icgraph" id="class_airline_res_1_1_airline_reservation_system_ab9422567d23558be1e82b6a2f5dc59b8_icgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#a7ee7657d437581faab9cf6f5c905f1b7" title="AirlineRes::AirlineReservationSystem::AlreadyRegistered" alt="" coords="495,5,846,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_airline_reservation_system.html#adeef07d423fe6105415c74f55bff04db" title="AirlineRes::AirlineReservationSystem::GetBookingDestination" alt="" coords="481,56,860,83"/><area shape="rect" id="node7" href="class_airline_res_1_1_airline_reservation_system.html#a351ff329b6a1b44654a4d9c051d6676e" title="AirlineRes::AirlineReservationSystem::GetCustomerIDChoice" alt="" coords="483,107,858,133"/><area shape="rect" id="node9" href="class_airline_res_1_1_airline_reservation_system.html#a537e38eeab0a3419f8e8db98854ac74f" title="AirlineRes::AirlineReservationSystem::GetFlightIDChoice" alt="" coords="495,157,846,184"/><area shape="rect" id="node11" href="class_airline_res_1_1_airline_reservation_system.html#a5d8d5c68ad965174c51efa89ecfc6aa7" title="AirlineRes::AirlineReservationSystem::WantToBookAlternativeClass" alt="" coords="464,208,877,235"/><area shape="rect" id="node13" href="class_airline_res_1_1_airline_reservation_system.html#a72ea107328a78d7343c5aa74b6fd95bb" title="AirlineRes::AirlineReservationSystem::WantToBookReserve" alt="" coords="487,259,854,285"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a3daabd202c543342741d68fce3356f38"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::ConfirmAction" ref="a3daabd202c543342741d68fce3356f38" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool AirlineRes::AirlineReservationSystem::ConfirmAction </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prompts the user to confirm their action before it is executed by displaying a Y/N prompt until a valid input is received. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true if the user confirmed, i.e. responded 'y'/'Y'. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l00347">347</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_airline_reservation_system_8cpp_source.html#l00357">GetYesNoChoice()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a3daabd202c543342741d68fce3356f38_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a3daabd202c543342741d68fce3356f38_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a3daabd202c543342741d68fce3356f38_cgraph" id="class_airline_res_1_1_airline_reservation_system_a3daabd202c543342741d68fce3356f38_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#aedf7930f4c9155fe99c4d47c1a3a7dcf" title="AirlineRes::AirlineReservationSystem::GetYesNoChoice" alt="" coords="382,5,727,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="adc474ab73996aa5df4e0f8604d09cf4a"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::DisplayCustomers" ref="adc474ab73996aa5df4e0f8604d09cf4a" args="(std::list&lt; CustomerRecord const * &gt; const &amp;shortlist)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AirlineRes::AirlineReservationSystem::DisplayCustomers </td>
          <td>(</td>
          <td class="paramtype">std::list&lt; <a class="el" href="class_airline_res_1_1_customer_record.html">CustomerRecord</a> const * &gt; const &amp;&#160;</td>
          <td class="paramname"><em>shortlist</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prints a table of customer details.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">shortlist</td><td>The list of customers to print. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l02224">2224</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a9e8b670c9323bc25f87aa1c10e396868"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::DisplayFlights" ref="a9e8b670c9323bc25f87aa1c10e396868" args="(std::list&lt; FlightRecord const * &gt; const &amp;shortlist)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AirlineRes::AirlineReservationSystem::DisplayFlights </td>
          <td>(</td>
          <td class="paramtype">std::list&lt; <a class="el" href="class_airline_res_1_1_flight_record.html">FlightRecord</a> const * &gt; const &amp;&#160;</td>
          <td class="paramname"><em>shortlist</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prints a table of flight details</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">shortlist</td><td>A list of flight records to print. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01922">1922</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a5810c1b2bf7f1939cf8835802d2b6715"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::ExitConfirmation" ref="a5810c1b2bf7f1939cf8835802d2b6715" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AirlineRes::AirlineReservationSystem::ExitConfirmation </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>menu</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Confirms the exit of the user.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">menu</td><td>The main menu of the user: ADMIN_USER_MENU or REGULAR_USER_MENU </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01383">1383</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_airline_reservation_system_8cpp_source.html#l00035">Shutdown()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a5810c1b2bf7f1939cf8835802d2b6715_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a5810c1b2bf7f1939cf8835802d2b6715_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a5810c1b2bf7f1939cf8835802d2b6715_cgraph" id="class_airline_res_1_1_airline_reservation_system_a5810c1b2bf7f1939cf8835802d2b6715_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#ace963e7380e7ee4508113a642c370d80" title="Called after the user has exited the system." alt="" coords="395,5,698,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_record_manager.html#aa285caf09fe5c29073a3fa71c5fd751d" title="AirlineRes::RecordManager::WriteRecords" alt="" coords="747,5,1013,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="adeef07d423fe6105415c74f55bff04db"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetBookingDestination" ref="adeef07d423fe6105415c74f55bff04db" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string AirlineRes::AirlineReservationSystem::GetBookingDestination </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets a destination value from the user and checks ot ensure that the destination entered contains only alphanumeric values.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A string which represents the destination chosen by the user. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01865">1865</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_airline_reservation_system_8cpp_source.html#l01371">CheckReturningToMainMenu()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_adeef07d423fe6105415c74f55bff04db_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_adeef07d423fe6105415c74f55bff04db_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_adeef07d423fe6105415c74f55bff04db_cgraph" id="class_airline_res_1_1_airline_reservation_system_adeef07d423fe6105415c74f55bff04db_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#ab9422567d23558be1e82b6a2f5dc59b8" title="AirlineRes::AirlineReservationSystem::CheckReturningToMainMenu" alt="" coords="432,5,843,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a351ff329b6a1b44654a4d9c051d6676e"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetCustomerIDChoice" ref="a351ff329b6a1b44654a4d9c051d6676e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AirlineRes::AirlineReservationSystem::GetCustomerIDChoice </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets a value for the customer ID chocie from the user. this function will be called after a list of customers has been displayed to the user and the customer is required to select which customer information relted to them.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>An integer value which represents a Customer ID for the chosen customer. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l02130">2130</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_airline_reservation_system_8cpp_source.html#l01371">CheckReturningToMainMenu()</a>, and <a class="el" href="_airline_reservation_system_8cpp_source.html#l02163">IsCustomerIDValid()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a351ff329b6a1b44654a4d9c051d6676e_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a351ff329b6a1b44654a4d9c051d6676e_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a351ff329b6a1b44654a4d9c051d6676e_cgraph" id="class_airline_res_1_1_airline_reservation_system_a351ff329b6a1b44654a4d9c051d6676e_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#ab9422567d23558be1e82b6a2f5dc59b8" title="AirlineRes::AirlineReservationSystem::CheckReturningToMainMenu" alt="" coords="429,5,840,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_airline_reservation_system.html#a7908d22251782f8101763c13c5185afa" title="AirlineRes::AirlineReservationSystem::IsCustomerIDValid" alt="" coords="459,56,811,83"/><area shape="rect" id="node7" href="class_airline_res_1_1_record_manager.html#a5d8cc3cfcef3d721edc45f18d31ae68a" title="AirlineRes::RecordManager::GetRecordSet" alt="" coords="889,56,1159,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a9ab02a986b44cc3ba0d704ad520b11fc"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetCustomerList" ref="a9ab02a986b44cc3ba0d704ad520b11fc" args="(std::string surname)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::list&lt; <a class="el" href="class_airline_res_1_1_customer_record.html">CustomerRecord</a> const * &gt; AirlineRes::AirlineReservationSystem::GetCustomerList </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>surname</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets a subset of customers from the custoemr set where the surname matches the Last Name stored in the customer record.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">surname</td><td>The surname given by the user.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A list of Customer <a class="el" href="class_airline_res_1_1_record.html">Record</a> which contain a Last Name which matches the surname passed. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l02207">2207</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_record_manager_8h_source.html#l00055">AirlineRes::RecordManager&lt; RecordType &gt;::GetRecordSet()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a9ab02a986b44cc3ba0d704ad520b11fc_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a9ab02a986b44cc3ba0d704ad520b11fc_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a9ab02a986b44cc3ba0d704ad520b11fc_cgraph" id="class_airline_res_1_1_airline_reservation_system_a9ab02a986b44cc3ba0d704ad520b11fc_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_record_manager.html#a5d8cc3cfcef3d721edc45f18d31ae68a" title="AirlineRes::RecordManager::GetRecordSet" alt="" coords="398,5,669,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="af6d570f5a081a25be88fe56def925ee4"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetCustomerSurname" ref="af6d570f5a081a25be88fe56def925ee4" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::string AirlineRes::AirlineReservationSystem::GetCustomerSurname </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Get a value for the customer surname from the user. This function would be called if the user has indicated that they are already registered on the system and are now required to enter a surname through which they can be indentified.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A string representing the customer surname given by the user. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l02181">2181</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a537e38eeab0a3419f8e8db98854ac74f"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetFlightIDChoice" ref="a537e38eeab0a3419f8e8db98854ac74f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AirlineRes::AirlineReservationSystem::GetFlightIDChoice </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets the flight ID choice from the user and ensure that the user input is numerical and valid by calling <a class="el" href="class_airline_res_1_1_airline_reservation_system.html#ab2bf6ab1ad15a048aef40f9b6aa5af22">IsFlightIDValid()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>An integer value which represents the Flight ID </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01939">1939</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_airline_reservation_system_8cpp_source.html#l01371">CheckReturningToMainMenu()</a>, and <a class="el" href="_airline_reservation_system_8cpp_source.html#l01972">IsFlightIDValid()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a537e38eeab0a3419f8e8db98854ac74f_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a537e38eeab0a3419f8e8db98854ac74f_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a537e38eeab0a3419f8e8db98854ac74f_cgraph" id="class_airline_res_1_1_airline_reservation_system_a537e38eeab0a3419f8e8db98854ac74f_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#ab9422567d23558be1e82b6a2f5dc59b8" title="AirlineRes::AirlineReservationSystem::CheckReturningToMainMenu" alt="" coords="405,5,816,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_airline_reservation_system.html#ab2bf6ab1ad15a048aef40f9b6aa5af22" title="AirlineRes::AirlineReservationSystem::IsFlightIDValid" alt="" coords="447,56,775,83"/><area shape="rect" id="node7" href="class_airline_res_1_1_record_manager.html#a5d8cc3cfcef3d721edc45f18d31ae68a" title="AirlineRes::RecordManager::GetRecordSet" alt="" coords="865,56,1135,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6c9a2ade00bac370e23cfa0bbb672deb"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetFlightShortList" ref="a6c9a2ade00bac370e23cfa0bbb672deb" args="(std::string destination)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::list&lt; <a class="el" href="class_airline_res_1_1_flight_record.html">FlightRecord</a> const * &gt; AirlineRes::AirlineReservationSystem::GetFlightShortList </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>destination</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Gets the subset of flights from the set of all flights by matching the destination</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">destination</td><td>The destination for the flight as chosen by the user.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A list of Flight Records which match the destination value. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01905">1905</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_record_manager_8h_source.html#l00055">AirlineRes::RecordManager&lt; RecordType &gt;::GetRecordSet()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a6c9a2ade00bac370e23cfa0bbb672deb_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a6c9a2ade00bac370e23cfa0bbb672deb_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a6c9a2ade00bac370e23cfa0bbb672deb_cgraph" id="class_airline_res_1_1_airline_reservation_system_a6c9a2ade00bac370e23cfa0bbb672deb_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_record_manager.html#a5d8cc3cfcef3d721edc45f18d31ae68a" title="AirlineRes::RecordManager::GetRecordSet" alt="" coords="406,5,677,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a15f3954e59751228628431ee59d4d64f"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetOptionChoice" ref="a15f3954e59751228628431ee59d4d64f" args="(std::string const &amp;_menuDesc)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AirlineRes::AirlineReservationSystem::GetOptionChoice </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>_menuDesc</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Function for displaying a menu and retrieving a numeric value representing the desired menu option from the user. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>-1 if the input was invalid, a positive integer otherwise. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l00315">315</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aedf7930f4c9155fe99c4d47c1a3a7dcf"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::GetYesNoChoice" ref="aedf7930f4c9155fe99c4d47c1a3a7dcf" args="(std::string const &amp;_prompt)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int AirlineRes::AirlineReservationSystem::GetYesNoChoice </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>_prompt</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Displays a prompt accepting a Y/N response from the user. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>-1 if the input was invalid, 0 for 'no', 1 for 'yes' </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l00357">357</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>Referenced by <a class="el" href="_airline_reservation_system_8cpp_source.html#l00347">ConfirmAction()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_aedf7930f4c9155fe99c4d47c1a3a7dcf_icgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_aedf7930f4c9155fe99c4d47c1a3a7dcf_icgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_aedf7930f4c9155fe99c4d47c1a3a7dcf_icgraph" id="class_airline_res_1_1_airline_reservation_system_aedf7930f4c9155fe99c4d47c1a3a7dcf_icgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#a3daabd202c543342741d68fce3356f38" title="AirlineRes::AirlineReservationSystem::ConfirmAction" alt="" coords="401,5,727,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a7908d22251782f8101763c13c5185afa"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::IsCustomerIDValid" ref="a7908d22251782f8101763c13c5185afa" args="(int customer_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool AirlineRes::AirlineReservationSystem::IsCustomerIDValid </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>customer_id</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check to see if the Customer ID passed is valid by checking for a matching Customer ID in the set of Customer records held on the system.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">customer_id</td><td>The Customer ID which would be input from the user.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A boolean value: true if the Customer ID is valid, else false. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l02163">2163</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_record_manager_8h_source.html#l00055">AirlineRes::RecordManager&lt; RecordType &gt;::GetRecordSet()</a>.</p>

<p>Referenced by <a class="el" href="_airline_reservation_system_8cpp_source.html#l02130">GetCustomerIDChoice()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a7908d22251782f8101763c13c5185afa_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a7908d22251782f8101763c13c5185afa_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a7908d22251782f8101763c13c5185afa_cgraph" id="class_airline_res_1_1_airline_reservation_system_a7908d22251782f8101763c13c5185afa_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_record_manager.html#a5d8cc3cfcef3d721edc45f18d31ae68a" title="AirlineRes::RecordManager::GetRecordSet" alt="" coords="406,5,677,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a7908d22251782f8101763c13c5185afa_icgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a7908d22251782f8101763c13c5185afa_icgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a7908d22251782f8101763c13c5185afa_icgraph" id="class_airline_res_1_1_airline_reservation_system_a7908d22251782f8101763c13c5185afa_icgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#a351ff329b6a1b44654a4d9c051d6676e" title="AirlineRes::AirlineReservationSystem::GetCustomerIDChoice" alt="" coords="406,5,781,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="ab2bf6ab1ad15a048aef40f9b6aa5af22"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::IsFlightIDValid" ref="ab2bf6ab1ad15a048aef40f9b6aa5af22" args="(int flight_id)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool AirlineRes::AirlineReservationSystem::IsFlightIDValid </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flight_id</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check to ensure a given Flight ID is valid. This is done by search the set of flights on the system and attempting to match the given Flight ID.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">flight_id</td><td>The Flight ID read frm the user</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A boolean value: True if the Flight ID is valid, else false. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01972">1972</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_record_manager_8h_source.html#l00055">AirlineRes::RecordManager&lt; RecordType &gt;::GetRecordSet()</a>.</p>

<p>Referenced by <a class="el" href="_airline_reservation_system_8cpp_source.html#l01939">GetFlightIDChoice()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_ab2bf6ab1ad15a048aef40f9b6aa5af22_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_ab2bf6ab1ad15a048aef40f9b6aa5af22_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_ab2bf6ab1ad15a048aef40f9b6aa5af22_cgraph" id="class_airline_res_1_1_airline_reservation_system_ab2bf6ab1ad15a048aef40f9b6aa5af22_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_record_manager.html#a5d8cc3cfcef3d721edc45f18d31ae68a" title="AirlineRes::RecordManager::GetRecordSet" alt="" coords="382,5,653,32"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_ab2bf6ab1ad15a048aef40f9b6aa5af22_icgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_ab2bf6ab1ad15a048aef40f9b6aa5af22_icgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_ab2bf6ab1ad15a048aef40f9b6aa5af22_icgraph" id="class_airline_res_1_1_airline_reservation_system_ab2bf6ab1ad15a048aef40f9b6aa5af22_icgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#a537e38eeab0a3419f8e8db98854ac74f" title="AirlineRes::AirlineReservationSystem::GetFlightIDChoice" alt="" coords="382,5,733,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a46ed155cb4f40ef0a545464f8cd98ecd"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::IsSpace" ref="a46ed155cb4f40ef0a545464f8cd98ecd" args="(int flight_id, BookingRecord::BookingClass booking_class)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool AirlineRes::AirlineReservationSystem::IsSpace </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>flight_id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="class_airline_res_1_1_booking_record.html#ab2bcad9f0a7e100358943207d1773723">BookingRecord::BookingClass</a>&#160;</td>
          <td class="paramname"><em>booking_class</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>The function checks to see whether there is space on a given flight, in a given class as specififed by the parameters of the function.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">flight_id</td><td>The flight Id of the flight to be checked. </td></tr>
    <tr><td class="paramname">booking_class</td><td>The booking class to be checked.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A boolean value indicating whether there is space. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l02061">2061</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_record_manager_8h_source.html#l00055">AirlineRes::RecordManager&lt; RecordType &gt;::GetRecordSet()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a46ed155cb4f40ef0a545464f8cd98ecd_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a46ed155cb4f40ef0a545464f8cd98ecd_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a46ed155cb4f40ef0a545464f8cd98ecd_cgraph" id="class_airline_res_1_1_airline_reservation_system_a46ed155cb4f40ef0a545464f8cd98ecd_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_record_manager.html#a5d8cc3cfcef3d721edc45f18d31ae68a" title="AirlineRes::RecordManager::GetRecordSet" alt="" coords="347,5,618,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a138faf0bb2b1bee6b842e5b255bb378f"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::IsYesNoChoiceValid" ref="a138faf0bb2b1bee6b842e5b255bb378f" args="(std::string user_input)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool AirlineRes::AirlineReservationSystem::IsYesNoChoiceValid </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>user_input</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Check to ensure the string passed to the function is valid answer to a Yes/No question. The format required is "Y" or "N".</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">user_input</td><td>The users answer to the Yes/No question.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A boolean value: True if the string is "Y" or "N", else false. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01893">1893</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>Referenced by <a class="el" href="_airline_reservation_system_8cpp_source.html#l02100">AlreadyRegistered()</a>, <a class="el" href="_airline_reservation_system_8cpp_source.html#l02007">WantToBookAlternativeClass()</a>, and <a class="el" href="_airline_reservation_system_8cpp_source.html#l02036">WantToBookReserve()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a138faf0bb2b1bee6b842e5b255bb378f_icgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a138faf0bb2b1bee6b842e5b255bb378f_icgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a138faf0bb2b1bee6b842e5b255bb378f_icgraph" id="class_airline_res_1_1_airline_reservation_system_a138faf0bb2b1bee6b842e5b255bb378f_icgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#a7ee7657d437581faab9cf6f5c905f1b7" title="AirlineRes::AirlineReservationSystem::AlreadyRegistered" alt="" coords="447,5,798,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_airline_reservation_system.html#a5d8d5c68ad965174c51efa89ecfc6aa7" title="AirlineRes::AirlineReservationSystem::WantToBookAlternativeClass" alt="" coords="416,56,829,83"/><area shape="rect" id="node7" href="class_airline_res_1_1_airline_reservation_system.html#a72ea107328a78d7343c5aa74b6fd95bb" title="AirlineRes::AirlineReservationSystem::WantToBookReserve" alt="" coords="439,107,806,133"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="aff0d51097f5005c495bb86647552af70"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::LoginScreen" ref="aff0d51097f5005c495bb86647552af70" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_airline_res_1_1_airline_reservation_system.html#a7b6ce984e55c425b36dfb3736203aa9b">AirlineReservationSystem::InterfaceResult</a> AirlineRes::AirlineReservationSystem::LoginScreen </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Allows the user to attempt to login to the system and sets m_userIsAdmin appropriately if they are successful.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>InterfaceResult_Success if the user provides valid credentials, InterfaceResult_Abort if the user aborts the login attempt. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l00062">62</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_record_manager_8h_source.html#l00055">AirlineRes::RecordManager&lt; RecordType &gt;::GetRecordSet()</a>, and <a class="el" href="_airline_reservation_system_8cpp_source.html#l00129">UserCredentialsValid()</a>.</p>

<p>Referenced by <a class="el" href="_airline_reservation_system_8cpp_source.html#l00043">Run()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_aff0d51097f5005c495bb86647552af70_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_aff0d51097f5005c495bb86647552af70_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_aff0d51097f5005c495bb86647552af70_cgraph" id="class_airline_res_1_1_airline_reservation_system_aff0d51097f5005c495bb86647552af70_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_record_manager.html#a5d8cc3cfcef3d721edc45f18d31ae68a" title="AirlineRes::RecordManager::GetRecordSet" alt="" coords="419,5,690,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_airline_reservation_system.html#af05b884c8e969c49253480fb316c56f2" title="AirlineRes::AirlineReservationSystem::UserCredentialsValid" alt="" coords="371,56,738,83"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_aff0d51097f5005c495bb86647552af70_icgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_aff0d51097f5005c495bb86647552af70_icgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_aff0d51097f5005c495bb86647552af70_icgraph" id="class_airline_res_1_1_airline_reservation_system_aff0d51097f5005c495bb86647552af70_icgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#ab8580997fb87edb39121111709405685" title="Called to start the system, i.e. begin responding interactively to user input." alt="" coords="371,5,639,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6235bd52ee6c2465c641de28b167047c"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::LogoutConfirmation" ref="a6235bd52ee6c2465c641de28b167047c" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AirlineRes::AirlineReservationSystem::LogoutConfirmation </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Confirms the logout action of the user.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">menu</td><td>The main menu of the user: ADMIN_USER_MENU or REGULAR_USER_MENU </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a507886378eae70d7b17fd1d1d766445e"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::ParseAdmin" ref="a507886378eae70d7b17fd1d1d766445e" args="(std::string admin_string)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool AirlineRes::AirlineReservationSystem::ParseAdmin </td>
          <td>(</td>
          <td class="paramtype">std::string&#160;</td>
          <td class="paramname"><em>admin_string</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parses an string taken from a user input, and converts that into a boolean. Y becomes true, anything else becomes false.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">admin_string</td><td>The user input value for whether th user is an admin</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True is admin_string = "Y", else False. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01689">1689</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>Referenced by <a class="el" href="_airline_reservation_system_8cpp_source.html#l01656">AddUserProcedure()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a507886378eae70d7b17fd1d1d766445e_icgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a507886378eae70d7b17fd1d1d766445e_icgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a507886378eae70d7b17fd1d1d766445e_icgraph" id="class_airline_res_1_1_airline_reservation_system_a507886378eae70d7b17fd1d1d766445e_icgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#ac585cedd9497fe050623a632868f4c06" title="AirlineRes::AirlineReservationSystem::AddUserProcedure" alt="" coords="371,5,725,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a87867c6a95ef62a40eb3ac7bf23501e9"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::SwitchBookingClass" ref="a87867c6a95ef62a40eb3ac7bf23501e9" args="(BookingRecord::BookingClass booking_class)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_airline_res_1_1_booking_record.html#ab2bcad9f0a7e100358943207d1773723">BookingRecord::BookingClass</a> AirlineRes::AirlineReservationSystem::SwitchBookingClass </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_airline_res_1_1_booking_record.html#ab2bcad9f0a7e100358943207d1773723">BookingRecord::BookingClass</a>&#160;</td>
          <td class="paramname"><em>booking_class</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Changes the given booking class to the alternative booking class.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">booking_class</td><td>The original booking class to be changed.</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>A booking class value which is the alternative to the booking class given. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l01990">1990</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="af05b884c8e969c49253480fb316c56f2"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::UserCredentialsValid" ref="af05b884c8e969c49253480fb316c56f2" args="(std::string const &amp;_username, std::string const &amp;_password)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool AirlineRes::AirlineReservationSystem::UserCredentialsValid </td>
          <td>(</td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>_username</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">std::string const &amp;&#160;</td>
          <td class="paramname"><em>_password</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Determine whether or not the supplied credentials are valid, i.e. user exists and password is correct.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if valid, false if not valid. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l00129">129</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>Referenced by <a class="el" href="_airline_reservation_system_8cpp_source.html#l00062">LoginScreen()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_af05b884c8e969c49253480fb316c56f2_icgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_af05b884c8e969c49253480fb316c56f2_icgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_af05b884c8e969c49253480fb316c56f2_icgraph" id="class_airline_res_1_1_airline_reservation_system_af05b884c8e969c49253480fb316c56f2_icgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#aff0d51097f5005c495bb86647552af70" title="AirlineRes::AirlineReservationSystem::LoginScreen" alt="" coords="421,5,739,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_airline_reservation_system.html#ab8580997fb87edb39121111709405685" title="Called to start the system, i.e. begin responding interactively to user input." alt="" coords="787,5,1055,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a5d8d5c68ad965174c51efa89ecfc6aa7"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::WantToBookAlternativeClass" ref="a5d8d5c68ad965174c51efa89ecfc6aa7" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool AirlineRes::AirlineReservationSystem::WantToBookAlternativeClass </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prompts the user to decide whether they wish to book on the alternative class. Thi function be used when the intial class request cannot be granted as that class is full.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A boolean value: true if the user wishes to book on the alternative class, else false. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l02007">2007</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_airline_reservation_system_8cpp_source.html#l01371">CheckReturningToMainMenu()</a>, and <a class="el" href="_airline_reservation_system_8cpp_source.html#l01893">IsYesNoChoiceValid()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a5d8d5c68ad965174c51efa89ecfc6aa7_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a5d8d5c68ad965174c51efa89ecfc6aa7_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a5d8d5c68ad965174c51efa89ecfc6aa7_cgraph" id="class_airline_res_1_1_airline_reservation_system_a5d8d5c68ad965174c51efa89ecfc6aa7_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#ab9422567d23558be1e82b6a2f5dc59b8" title="AirlineRes::AirlineReservationSystem::CheckReturningToMainMenu" alt="" coords="467,5,877,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_airline_reservation_system.html#a138faf0bb2b1bee6b842e5b255bb378f" title="AirlineRes::AirlineReservationSystem::IsYesNoChoiceValid" alt="" coords="491,56,853,83"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a72ea107328a78d7343c5aa74b6fd95bb"></a><!-- doxytag: member="AirlineRes::AirlineReservationSystem::WantToBookReserve" ref="a72ea107328a78d7343c5aa74b6fd95bb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool AirlineRes::AirlineReservationSystem::WantToBookReserve </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Prompts the user to decided whether they wish to reserve a seat for a flight. Will be used when the initial class choice is full and either the alternatie class choice is full or they do not wish to book on the alternative class.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>A boolean value: true if the user wishes to reserve a seat, else false. </dd></dl>

<p>Definition at line <a class="el" href="_airline_reservation_system_8cpp_source.html#l02036">2036</a> of file <a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a>.</p>

<p>References <a class="el" href="_airline_reservation_system_8cpp_source.html#l01371">CheckReturningToMainMenu()</a>, and <a class="el" href="_airline_reservation_system_8cpp_source.html#l01893">IsYesNoChoiceValid()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="class_airline_res_1_1_airline_reservation_system_a72ea107328a78d7343c5aa74b6fd95bb_cgraph.png" border="0" usemap="#class_airline_res_1_1_airline_reservation_system_a72ea107328a78d7343c5aa74b6fd95bb_cgraph" alt=""/></div>
<map name="class_airline_res_1_1_airline_reservation_system_a72ea107328a78d7343c5aa74b6fd95bb_cgraph" id="class_airline_res_1_1_airline_reservation_system_a72ea107328a78d7343c5aa74b6fd95bb_cgraph">
<area shape="rect" id="node3" href="class_airline_res_1_1_airline_reservation_system.html#ab9422567d23558be1e82b6a2f5dc59b8" title="AirlineRes::AirlineReservationSystem::CheckReturningToMainMenu" alt="" coords="421,5,832,32"/><area shape="rect" id="node5" href="class_airline_res_1_1_airline_reservation_system.html#a138faf0bb2b1bee6b842e5b255bb378f" title="AirlineRes::AirlineReservationSystem::IsYesNoChoiceValid" alt="" coords="445,56,808,83"/></map>
</div>
</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>C:/Users/Joe/Development/Projects/University/FormalMethods/airline-res/include/<a class="el" href="_airline_reservation_system_8h_source.html">AirlineReservationSystem.h</a></li>
<li>C:/Users/Joe/Development/Projects/University/FormalMethods/airline-res/src/<a class="el" href="_airline_reservation_system_8cpp_source.html">AirlineReservationSystem.cpp</a></li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Wed Dec 14 2011 22:49:41 for airline-res by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
